﻿Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterSheetSchema

    Public Class characterInfo_character

        Private strBattleGroup As String
        Private strCharURL As String
        Private strClass As String
        Private intClassID As Integer
        Private strFaction As String
        Private intFactionID As Integer
        Private strGender As String
        Private intGenderID As Integer
        Private strGuildName As String
        Private strGuildURL As String
        Private strLastModified As String
        Private intLevel As Integer
        Private strName As String
        Private intPoints As Integer
        Private strPrefix As String
        Private strRace As String
        Private intRaceID As Integer
        Private strRealm As String
        Private strSuffix As String
        Private atArenaTeams As New List(Of arenaTeams)

        <XmlAttribute()> Public Property battleGroup() As String
            Get
                Return strBattleGroup
            End Get
            Set(ByVal value As String)
                strBattleGroup = value
            End Set
        End Property

        <XmlAttribute()> Public Property charUrl() As String
            Get
                Return strCharURL
            End Get
            Set(ByVal value As String)
                strCharURL = value
            End Set
        End Property

        <XmlAttribute()> Public Property [class]() As String
            Get
                Return strClass
            End Get
            Set(ByVal value As String)
                strClass = value
            End Set
        End Property

        <XmlAttribute()> Public Property classId() As Integer
            Get
                Return intClassID
            End Get
            Set(ByVal value As Integer)
                intClassID = value
            End Set
        End Property

        <XmlAttribute()> Public Property faction() As String
            Get
                Return strFaction
            End Get
            Set(ByVal value As String)
                strFaction = value
            End Set
        End Property

        <XmlAttribute()> Public Property factionId() As Integer
            Get
                Return intFactionID
            End Get
            Set(ByVal value As Integer)
                intFactionID = value
            End Set
        End Property

        <XmlAttribute()> Public Property gender() As String
            Get
                Return strGender
            End Get
            Set(ByVal value As String)
                strGender = value
            End Set
        End Property

        <XmlAttribute()> Public Property genderId() As Integer
            Get
                Return intGenderID
            End Get
            Set(ByVal value As Integer)
                intGenderID = value
            End Set
        End Property

        <XmlAttribute()> Public Property guildName() As String
            Get
                Return strGuildName
            End Get
            Set(ByVal value As String)
                strGuildName = value
            End Set
        End Property

        <XmlAttribute()> Public Property guildUrl() As String
            Get
                Return strGuildURL
            End Get
            Set(ByVal value As String)
                strGuildURL = value
            End Set
        End Property

        <XmlAttribute()> Public Property lastModified() As String
            Get
                Return strLastModified
            End Get
            Set(ByVal value As String)
                strLastModified = value
            End Set
        End Property

        <XmlAttribute()> Public Property level() As Integer
            Get
                Return intLevel
            End Get
            Set(ByVal value As Integer)
                intLevel = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property points() As Integer
            Get
                Return intPoints
            End Get
            Set(ByVal value As Integer)
                intPoints = value
            End Set
        End Property

        <XmlAttribute()> Public Property prefix() As String
            Get
                Return strPrefix
            End Get
            Set(ByVal value As String)
                strPrefix = value
            End Set
        End Property

        <XmlAttribute()> Public Property race() As String
            Get
                Return strRace
            End Get
            Set(ByVal value As String)
                strRace = value
            End Set
        End Property

        <XmlAttribute()> Public Property raceId() As Integer
            Get
                Return intRaceID
            End Get
            Set(ByVal value As Integer)
                intRaceID = value
            End Set
        End Property

        <XmlAttribute()> Public Property realm() As String
            Get
                Return strRealm
            End Get
            Set(ByVal value As String)
                strRealm = value
            End Set
        End Property

        <XmlAttribute()> Public Property suffix() As String
            Get
                Return strSuffix
            End Get
            Set(ByVal value As String)
                strSuffix = value
            End Set
        End Property

        <XmlElement()> Public Property arenaTeams() As List(Of arenaTeams)
            Get
                Return atArenaTeams
            End Get
            Set(ByVal value As List(Of arenaTeams))
                atArenaTeams = value
            End Set
        End Property

    End Class

End Namespace